package com.azapp.consoleserver.dao.web;

import com.azapp.consoleserver.model.dto.MenuVo;
import com.azapp.consoleserver.model.entity.Admin;
import com.azapp.consoleserver.model.entity.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminDao {

    Admin getAdminByPhone(@Param("phone") String phone);

    List<MenuVo> getFirstLevelMenus(@Param("adminType") int adminType);

    List<Menu> getSecondLevelMenus(@Param("adminType") int adminType, @Param("subid") int subid);
}
